<script setup lang="ts">
	// 应用生命周期仅可在App.vue中监听，在其它页面监听无效
	import { onLaunch, onShow, onHide } from "@dcloudio/uni-app";
	// 初始化完成时触发（全局只触发一次）
	onLaunch(() => {
		console.log("App Launch");

		// 修改TabBar
		// uni.setTabBarItem()
	});
	// 启动，或从后台进入前台显示
	onShow(() => {
		console.log("App Show");
	});
	onHide(() => {
		console.log("App Hide");
	});
</script>

<style lang="scss" scoped>
	/* 全局样式 */
	@import "@/uni.scss";
	@import 'tailwindcss/base';
	@import 'tailwindcss/utilities';
	@import 'tailwindcss/components';
</style>